package com.yunjian.core.basic.model;

import java.io.Serializable;

public class SResource implements Serializable {
    /**
	 * s_resource.RES_ID 资源ID
	 * @mbggenerated
	 */
	private String resId;
	/**
	 * s_resource.RES_NAME 资源名称
	 * @mbggenerated
	 */
	private String resName;
	/**
	 * s_resource.P_RES_ID 父资源编号
	 * @mbggenerated
	 */
	private String pResId;
	/**
	 * s_resource.RES_TYPE 资源类型：1菜单2按钮3数据
	 * @mbggenerated
	 */
	private Integer resType;
	/**
	 * s_resource.STATUS 状态：0不可用1正常
	 * @mbggenerated
	 */
	private Integer status;
	/**
	 * s_resource.RES_INDEX 显示顺序
	 * @mbggenerated
	 */
	private Integer resIndex;
	/**
	 * s_resource.RES_URL 资源URL
	 * @mbggenerated
	 */
	private String resUrl;
	/**
	 * s_resource.PERMISSION 权限字符串
	 * @mbggenerated
	 */
	private String permission;
	/**
	 * s_resource.RES_ICON 资源图标
	 * @mbggenerated
	 */
	private String resIcon;
	/**
	 * @mbggenerated
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * @mbggenerated
	 */
	public String getResId() {
		return resId;
	}
	/**
	 * @mbggenerated
	 */
	public void setResId(String resId) {
		this.resId = resId == null ? null : resId.trim();
	}
	/**
	 * @mbggenerated
	 */
	public String getResName() {
		return resName;
	}
	/**
	 * @mbggenerated
	 */
	public void setResName(String resName) {
		this.resName = resName == null ? null : resName.trim();
	}
	/**
	 * @mbggenerated
	 */
	public String getpResId() {
		return pResId;
	}
	/**
	 * @mbggenerated
	 */
	public void setpResId(String pResId) {
		this.pResId = pResId == null ? null : pResId.trim();
	}
	/**
	 * @mbggenerated
	 */
	public Integer getResType() {
		return resType;
	}
	/**
	 * @mbggenerated
	 */
	public void setResType(Integer resType) {
		this.resType = resType;
	}
	/**
	 * @mbggenerated
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @mbggenerated
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * @mbggenerated
	 */
	public Integer getResIndex() {
		return resIndex;
	}
	/**
	 * @mbggenerated
	 */
	public void setResIndex(Integer resIndex) {
		this.resIndex = resIndex;
	}
	/**
	 * @mbggenerated
	 */
	public String getResUrl() {
		return resUrl;
	}
	/**
	 * @mbggenerated
	 */
	public void setResUrl(String resUrl) {
		this.resUrl = resUrl == null ? null : resUrl.trim();
	}
	/**
	 * @mbggenerated
	 */
	public String getPermission() {
		return permission;
	}
	/**
	 * @mbggenerated
	 */
	public void setPermission(String permission) {
		this.permission = permission == null ? null : permission.trim();
	}
	/**
	 * @mbggenerated
	 */
	public String getResIcon() {
		return resIcon;
	}
	/**
	 * @mbggenerated
	 */
	public void setResIcon(String resIcon) {
		this.resIcon = resIcon == null ? null : resIcon.trim();
	}
	// 菜单
 	public static int RESTYPE_MENU = 1;
 	// 按钮
 	public static int RESTYPE_BUTTON = 2;
 	// 数据
 	public static int RESTYPE_DATA = 3;
}